From: Aaron Date: Tue, 3 Jul 2012 18:20:24 +0000 (-0700) Subject: Fixed exception in diff size formatter. X-Git-Tag: 1.31.0-rc.0~23157^2 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=79c774d362d201bd386fac7257633f6163efdc3f;p=lhc%2Fweb%2Fwiklou.git Fixed exception in diff size formatter. Change-Id: Iaa4887453ba6b136e507e51af6c80849b7c6873c --- diff --git a/includes/ChangesList.php b/includes/ChangesList.php index da5605076e..69d4282511 100644 --- a/includes/ChangesList.php +++ b/includes/ChangesList.php @@ -210,6 +210,8 @@ class ChangesList extends ContextSource { $context = RequestContext::getMain(); } + $new = (int)$new; + $old = (int)$old; $szdiff = $new - $old; $lang = $context->getLanguage();